using System;
using System.Collections.Generic;
using System.Text;
using Ant1.Decisions;
using Microsoft.Xna.Framework;

namespace Ant1.Objects
{
    class TestMove : GameObject
    {

        public Point toPoint = new Point();
        public int DoneCount = 0;

        public TestMove()
        {
            currentDecision = new GoToDecision(this.X + 100, this.Y + 100);

        }
        public override void OnTick()
        {

        }
        public override void OnDoneDecision()
        {
            DoneCount++;
            currentDecision = new GoToDecision(this.X , this.Y +(DoneCount*50));

        }
        public override void OnHitWall()
        {
            DoneCount = 100 ;
            currentDecision = new GoToDecision(this.X+(DoneCount * 50), this.Y );

        }

        public override string GetThough()
        {
            return DoneCount.ToString();
        }

        public override void OnSense(Senses.SensesObject So)
        {
            int x = 0;
        }

    }
}
